#define _CRT_SECURE_NO_WARNINGS 1
#include "queue.h"
int main()
{
	struct queue que;
	queueInit(&que);
	queuePush(&que, 1);
	queuePush(&que, 2);
	queuePush(&que, 3);
	queuePush(&que, 4);
	queuePush(&que, 5);
	queuePop(&que);
	queuePop(&que);
	queuePop(&que);
	int size = queueSize(&que);
	while (size--)
	{
		int temp1 = queueFront(&que);
		printf("%d \t", temp1);
		int temp2 = queueBack(&que);
		printf("%d ", temp2);
		queuePop(&que);
	}
	printf("\n");
	queueDestroy(&que);
	return 0;
}